// @description 特殊处理
// @author yurui
// @createDate 2023.1.09
// @version v1.0.0
import { defHttp } from '/@/utils/http/axios';
import { ApiCommon } from '../common'

const { BILLING_ADMIN_API } = ApiCommon;

enum Api {
    //创建费用减免账单
    REDUCED_CREATE = '/record/cost/reduced/create',
    //获取费用减免账单数据
    REDUCED_RECORD = '/record/get/cost/reduced/record',
    //获取费用减免记录
    COST_REDUCED_RECORD = '/integrated-business/get/cost-reduced/record/'
}

/**
 * @description: 请求的API地址
 */

//创建费用减免账单
export const reducedCreateApi = (params:object) => defHttp.post({ url: BILLING_ADMIN_API + Api.REDUCED_CREATE,params });
//获取费用减免账单数据
export const reducedRecordApi = (params:object) => defHttp.post({ url: BILLING_ADMIN_API + Api.REDUCED_RECORD, params});
//获取费用减免记录
export const costReducedRecordApi = (params:object) => defHttp.get({ url: BILLING_ADMIN_API + Api.COST_REDUCED_RECORD + params.recordId });










